@import 'mixin.scss';
@import 'var.scss';
// 聚好款-首页-主题馆
.jhk-theme {
    display: flex;
    .theme-item:not(:last-child) {
        margin-right: 20px;
    }
}

.jhk-shoplist {
    display: flex;
    margin-bottom: 42px;
    .jhk-shop {
        padding: 20px 20px 24px 20px;
        border: 1px solid $border-gray;
        &:not(:last-child) {
            margin-right: 15px;
        }
    }
    .name {
        font-size: 16px;
        color: $fc-base;
    }
    .location {
        display: flex;
        align-items: center;
        font-size: 12px;
        color: $fc-gray;
        margin: 15px 0 9px 0;
        i {
            margin-right: 4px;
        }
    }
    .love {
        display: flex;
        align-items: center;
        font-size: 12px;
        color: $fc-gray;
        margin-bottom: 16px;
        i {
            margin-right: 4px;
        }
    }
    .jhk-pro-list {
        display: flex;
        .jhk-pro {
            position: relative;
            width: 106px;
            height: 123px;
            &:not(:last-child) {
                margin-right: 15px;
            }
            img {
                width: 100%;
                height: 100%;
            }
            .price {
                position: absolute;
                bottom: 0;
                left: 0;
                background-color: rgba(0, 0, 0, .4);
                width: 55.5%;
                line-height: 30px;
                color: #fff;
                font-size: 14px;
                padding-left: 12px;
            }
        }
    }
}

// 聚好款-供应商列表-搜索条
.jhk-sjlist-condition {
    font-size: 12px;
    background-color: #f4f4f4;
    margin: 20px 0;
    select {
        height: 28px;
        width: 148px;
        font-size: 12px;
        color: $fc-base;
        border: 1px solid $border-gray;
        margin-right: 20px;
    }
    .fenlei {
        padding: 10px 0 10px 20px;
        display: flex;
        position: relative;
    }
}

// 聚好款-供应商列表
.jhk-sjlist {
    li {
        display: flex;
        border: 1px solid $border-gray;
        &:not(:last-child) {
            margin-bottom: 20px;
        }
        .info {
            width: 504px;
            padding: 30px 0 54px 30px;
            .sjname {
                font-size: 18px;
                color: $fc-title-gray;
            }
            .shopname {
                font-size: 12px;
                color: #888;
                margin: 12px 0 20px 0;
            }
            .location {
                font-size: 14px;
                color: $fc-gray;
                margin-bottom: 13px;
                .address {
                    color: $fc-base;
                }
            }
            .goshop {
                font-size: 12px;
                margin-top: 40px;
                a {
                    color: $fc-blue;
                }
            }
        }
        .imglist {
            display: flex;
            padding: 30px 72px;
            background-color: #f8f8f8;
            .pro-item {
                &:not(:last-child) {
                    margin-right: 50px;
                }
                .price {
                    font-size: 16px;
                    color: $fc-red;
                    margin-top: 14px;
                }
            }
        }
    }
}

//聚好款-店铺首页
.jhk_shop_i{
    .top_banner {
        min-width: 1200px;
        height: 150px;
        background-repeat: no-repeat;
        background-position: center;
    }
}

//聚好款_商品详情
.jhaokuan_goods_details {
    .top_banner {
        min-width: 1200px;
        height: 150px;
        background-repeat: no-repeat;
        background-position: center;
    }
    .con_top {
        display: flex;
        margin-bottom: 20px;
        .con_top-left {
            width: 450px;
            margin-right: 40px;
            .top {
                width: 450px;
                height: 450px;
                overflow: hidden;
                margin-bottom: 10px;
            }
            .bottom {
                display: flex;
                // justify-content: space-between;
                margin-bottom: 15px;
                .bottom-col {
                    width: 80px;
                    height: 80px;
                    border: 2px solid $border-white;
                    cursor: pointer;
                    margin-right: 7.5px;
                    &:last-child {
                        margin-right: 0px;
                    }
                    &:hover {
                        border: 2px solid $border-blue;
                    }
                    img {
                        display: block;
                        width: 100%;
                    }
                }
                .bottom-col-cur {
                    border: 2px solid $border-blue;
                }
            }
            .bottom_btn {
                display: flex;
                p {
                    display: flex;
                    align-items: center;
                    font-size: 14px;
                    height: 20px;
                    color: $fc-title-gray;
                    margin-right: 30px;
                    cursor: pointer;
                    i {
                        margin-right: 6px;
                    }
                }
            }
        }
        .con_top-right {
            width: 710px;
            &>h1 {
                font-size: 16px;
                color: $fc-black;
                padding-top: 16px;
                padding-bottom: 12px;
            }
            h2 {
                width: 75px;
                line-height: 50px;
                text-indent: 16px;
                font-size: 12px;
                color: $fc-gray;
            }
            &>.top {
                background: #f3f3f3;
                padding-top: 10px;
                .top-col {
                    display: flex;
                    align-items: center;
                    .top-col-text {
                        display: flex;
                        position: relative;
                        top: -4px;
                        width: 600px;
                        &>h3 {
                            width: 150px;
                            font-size: 30px;
                            color: #ff0036;
                            span {
                                font-size: 18px;
                            }
                        }
                        &>p {
                            width: 150px;
                            font-size: 12px;
                            color: $fc-base;
                            padding-top: 8px;
                        }
                    }
                }
            }
            //配送
            &>.song {
                display: flex;
                border-bottom: 1px dashed $border-gray;
                .song-text {
                    display: flex;
                    align-items: center;
                    font-size: 12px;
                    color: $fc-base;
                    font {
                        display: flex;
                        align-items: center;
                        i {
                            margin-left: 4px;
                            margin-right: 20px;
                            cursor: pointer;
                        }
                    }
                }
            }
            .color {
                display: flex;
                padding-top: 20px;
                margin-bottom: 10px;
                .color-col {
                    cursor: pointer;
                    width: 62px;
                    height: 62px;
                    box-sizing: border-box;
                    margin: 1px;
                    margin-right: 8px;
                    border: 1px solid #cccccc;
                    img {
                        width: 100%;
                    }
                }
                .color-col_cur {
                    border: 2px solid #ff0036;
                    width: 64px;
                    height: 64px;
                    margin: 0px;
                    margin-right: 8px;
                }
            }
            .size {
                display: flex;
                margin-bottom: 10px;
                .size-colum {
                    width: 635px;
                    .size-colum-con {
                        display: flex;
                        justify-content: space-between;
                        height: 50px;
                        align-items: center;
                        border-bottom: 1px dashed $border-gray;
                        &:last-child {
                            border-bottom: none;
                        }
                        .counter {
                            display: flex;
                            button {
                                width: 30px;
                                height: 34px;
                                font-size: 16px;
                                background: $bg-white;
                                border: 1px solid $border-gray;
                                box-sizing: border-box;
                            }
                            input {
                                border-top: 1px solid $border-gray;
                                border-bottom: 1px solid $border-gray;
                                width: 66px;
                                height: 34px;
                                box-sizing: border-box;
                                text-indent: 10px;
                                font-size: 12px;
                                color: $fc-base;
                            }
                        }
                    }
                }
            }
            .total {
                height: 48px;
                border: 1px solid $border-gray;
                box-sizing: border-box;
                background: #f9f9f9;
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding-left: 50px;
                margin-bottom: 20px;
                position: relative;
                .total-left {
                    display: flex;
                    align-items: center;
                    &>p {
                        font-size: 18px;
                        color: #de0000;
                        border-right: 1px solid $border-gray;
                        padding: 0 20px;
                        &:last-child {
                            border-right: none;
                        }
                        span {
                            font-size: 12px;
                        }
                        font {
                            font-size: 12px;
                            color: $fc-gray;
                        }
                    }
                }
                .total-right {
                    cursor: pointer;
                    width: 188px;
                    height: 100%;
                    border-left: 1px solid $border-gray;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    font-size: 16px;
                    display: flex;
                    align-items: center;
                    i {
                        margin-left: 6px;
                        transition: all 0.3s;
                        transform: rotate(180deg);
                    }
                }
                .total-sub {
                    position: absolute;
                    top: 46px;
                    left: -1px;
                    width: 100%;
                    max-height: 0px;
                    overflow: hidden;
                    transition: all linear 0.3s;
                    // box-sizing: border-box;
                    border: 1px solid $border-gray;
                    border-bottom: none;
                    background: $bg-white;
                    .total-sub-col {
                        display: flex;
                        align-items: center;
                        height: 52px;
                        border-bottom: 1px solid $border-gray;
                        h1 {
                            line-height: 52px;
                            width: 94px;
                            text-indent: 12px;
                            font-size: 14px;
                            color: $fc-base;
                            border-right: 1px solid $border-gray;
                        }
                        p {
                            width: 100px;
                            text-indent: 10px;
                            text-indent: 12px;
                            font-size: 14px;
                        }
                    }
                }
            }
            //点击已选清单 显示下拉框
            .total_cur {
                .total-sub {
                    max-height: 1000px;
                }
                .total-right {
                    i {
                        transform: rotate(0deg);
                    }
                }
            }
            .btn {
                display: flex;
                padding-top: 20px;
                border-top: 1px dotted $border-gray;
                padding-left: 85px;
                margin-bottom: 24px;
                a {
                    width: 180px;
                    height: 44px;
                    line-height: 42px;
                    background: #ffeded;
                    border: 1px solid #ff0036;
                    color: #ff0036;
                    text-align: center;
                    font-size: 18px;
                    margin-right: 10px;
                    &:nth-child(2) {
                        color: $fc-white;
                        background: #ff0036;
                    }
                }
            }
            .a_box {
                display: flex;
                padding-left: 16px;
                margin-bottom: 30px;
                a {
                    font-size: 12px;
                    color: $fc-gray;
                    margin-right: 20px;
                    &:hover {
                        color: $fc-title-gray;
                    }
                }
            }
        }
    }
    .tap-box {
        box-sizing: border-box;
        border: 1px solid #dfdfdf;
        border-bottom: 4px solid #dfdfdf;
        margin-bottom: 30px;
        .tap {
            cursor: pointer;
            width: 140px;
            height: 48px;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 14px;
            color: $fc-blue;
            border-right: 1px solid #dfdfdf;
            border-bottom: 4px solid $border-blue;
            margin-bottom: -4px;
        }
    }
    .title {
        display: flex;
        align-items: center;
        font-size: 18px;
        color: $fc-blue;
        padding-bottom: 14px;
        background-image: url(../img/goods_details_con_title_bb.png);
        background-repeat: repeat-x;
        background-position: left bottom;
        margin-bottom: 20px;
        i {
            margin-right: 8px;
        }
        span {
            font-size: 14px;
            color: $fc-gray;
            margin-left: 6px;
            position: relative;
            top: 5px;
        }
    }
    //商品参数
    .goods_details_con-param {
        border: 1px solid #dfdfdf;
        // border-right: none;
        display: flex;
        flex-wrap: wrap;
        // margin-bottom: -1px;
        .goods_details_con-param-con {
            display: flex;
            &>h1 {
                font-weight: normal;
                line-height: 40px;
                font-size: 12px;
                color: $fc-title-gray;
                width: 98px;
                border-right: 1px solid #dfdfdf;
                background: #f5f5f5;
                text-indent: 26px;
            }
            &>p {
                line-height: 40px;
                width: 499px;
                font-size: 12px;
                text-indent: 16px;
                color: $fc-gray;
                border-right: 1px solid #dfdfdf;
                border-bottom: 1px solid #dfdfdf;
            }
            &:nth-child(even) {
                &>p {
                    border-right: none;
                }
            }
            &:nth-last-child(2),
            &:nth-last-child(1) {
                p {
                    border-bottom: none;
                    // background: red;
                }
            }
        }
    }
}